//
// Created by LiuYou on 2021/5/12.
//

#ifndef CPPSTANDARDLIBRARY_LINUX_BOOK_HPP
#define CPPSTANDARDLIBRARY_LINUX_BOOK_HPP


#include <string>
#include <ostream>

class Book {
public:
    Book();

    Book(std::string name, std::string author);

    virtual ~Book();

public:
    friend std::ostream& operator<<(std::ostream& os, const Book& book);

    void setName(const std::string& name);

    void setAuthor(const std::string& author);

private:
    std::string name;
    std::string author;
};


#endif //CPPSTANDARDLIBRARY_LINUX_BOOK_HPP
